package com.usian.mapper.poste;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.pojo.poste.Poste;
import com.usian.pojo.staff.Staff;
import com.usian.vo.StaffVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.w3c.dom.stylesheets.LinkStyle;

import java.util.List;

public interface PosteMapper extends BaseMapper<Poste> {

    @Select("SELECT p.*,d.dname FROM dep d,poste p where d.did=p.depId and p.depId=${depId}")
    List<Poste> findAl(@Param("depId") Integer depId);

}
